package com.weixue;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
/**
 * 扫描Mapper接口
 */
@MapperScan("com.weixue.dao")
public class NongFuApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(NongFuApplication.class, args);
        /**
         * 作用域session:
         *      1.verifyCode--验证码
         *      2.errorMsg--错误提示
         *      3.loginUser--管理员昵称
         *      4.loginUserId--管理员id
         */
    }

}
